package com.huiminpay.merchant.service;


import com.huiminpay.common.cache.domain.BusinessException;

public interface SmsService {
    /**
     * 获取短信验证码
     * @param mobile
     * @return
     */
    public String getSmsCode(String mobile)throws BusinessException;

    /**
     * 校验验证码，抛出异常则校验无效
     * @param verifiyKey
     * @param verifiyCode
     * @throws BusinessException
     */
    public void checkVerifiyCode(String verifiyKey, String verifiyCode) throws BusinessException;

}
